#ifndef __MCU_I2C_H
#define __MCU_I2C_H

//----------------------------------Include-------------------------------------
#include <stdint.h>
//------------------------------------------------------------------------------

//----------------------------------Declare-------------------------------------
void    mcu_i2c2_start(void);
void    mcu_i2c2_stop(void);
uint8_t mcu_i2c2_tx_addr(uint8_t addr);
uint8_t mcu_i2c2_tx_byte(uint8_t val);
uint8_t mcu_i2c2_rx_byte(uint8_t ack);
//------------------------------------------------------------------------------
void    mcu_init_i2c2(void);
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------



